package org.jsets.fastboot.oss.service.impl;

import java.io.InputStream;
import java.util.List;
import org.jsets.fastboot.oss.model.entity.FileMeta;
import org.jsets.fastboot.oss.model.entity.Storage;
import org.jsets.fastboot.oss.service.IStorageEngineService;
import lombok.extern.slf4j.Slf4j;

/**
 * 
 * 阿里云存储
 * 
 * @author wangjie
 *
 */
@Slf4j
public class AliyunStorageService implements IStorageEngineService {

	private final Storage config;

	public AliyunStorageService(Storage config) {
		this.config = config;
	}

	@Override
	public void initialize() {
		// TODO Auto-generated method stub
	}
	
	@Override
	public void makeBucket(String bucket) {

	}
	
	@Override
	public void removeBucket(String bucket) {
		
	}

	@Override
	public List<String> listBuckets() {
		return null;
	}

	@Override
	public void upload(FileMeta metadata, InputStream inputStream) {
	}

	@Override
	public void upload(FileMeta metadata, byte[] data) {

	}

	@Override
	public void remove(FileMeta metadata) {

	}

	@Override
	public InputStream download(FileMeta metadata) {
		return null;
	}
	
	@Override
	public void close() {
	}

}